package com.netease.ssm.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netease.ssm.mapper.UserMapper;
import com.netease.ssm.meta.User;
@Service
public class UserService{
    @Autowired
    private UserMapper userMapper;
	
	public User getPersonByUserName(String userName) {
		
		return userMapper.selectByName(userName);
	}

}
